package com.ms.service.module.commonsettings;

import java.util.HashMap;

/**
 * 更新common setting消息
 */
public class SUpdateCommonSettingsMessage {

	//這裡要跟client同步修改與新增
	
	/**虛寶交易 - 手續費*/
	public static final int SEND_GIFT_FEE = 1;
	
	/**虛寶交易 - 身上現金最低限制*/
	public static final int SEND_GIFT_MONEY = 2;
	
	/**虛寶交易 - 角色等級最低限制*/
	public static final int SEND_GIFT_LEVEL = 3;
	
	/**重複名稱檢查 - 是否開啟*/
	public static final int DOUBLE_NAME_CHECK = 4;
	
	
	/**
	 * 錯誤碼
	 */
	private int errorCode;
	
	/**
	 * 有異動的資訊
	 */
	private HashMap<Integer, String> updateSettings = new HashMap<Integer, String>();

	public HashMap<Integer, String> getUpdateSettings() {
		return updateSettings;
	}

	public void setUpdateSettings(HashMap<Integer, String> updateSettings) {
		this.updateSettings = updateSettings;
	}

	public int getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	
}
